package com.wuchao.bridge;

/**
 * @author wu
 * @create 2022-04-15-10:44
 */
public class UpPhone extends phone {



    public UpPhone(TypePhone typePhone) {
        super(typePhone);
    }

    @Override
    public void open() {
        System.out.println("直立手机open");
        typePhone.open();
    }

    @Override
    public void close() {
        typePhone.close();
        System.out.println("直立手机关机");
    }

    @Override
    public void call() {
        typePhone.call();
        System.out.println("直立手机Call");
    }
}
